Optimal. Leaf size=25 \[ \frac {\sqrt {a \sec ^2(x)}}{a}+\frac {1}{\sqrt {a \sec ^2(x)}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.09, antiderivative size = 25, normalized size of antiderivative = 1.00, number of steps used = 4, number of rules used = 3, integrand size = 17, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.176, Rules used = {3657, 4124, 43} \[ \frac {\sqrt {a \sec ^2(x)}}{a}+\frac {1}{\sqrt {a \sec ^2(x)}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 43
Rule 3657
Rule 4124
Rubi steps
\begin {align*} \int \frac {\tan ^3(x)}{\sqrt {a+a \tan ^2(x)}} \, dx &=\int \frac {\tan ^3(x)}{\sqrt {a \sec ^2(x)}} \, dx\\ &=\frac {1}{2} a \operatorname {Subst}\left (\int \frac {-1+x}{(a x)^{3/2}} \, dx,x,\sec ^2(x)\right )\\ &=\frac {1}{2} a \operatorname {Subst}\left (\int \left (-\frac {1}{(a x)^{3/2}}+\frac {1}{a \sqrt {a x}}\right ) \, dx,x,\sec ^2(x)\right )\\ &=\frac {1}{\sqrt {a \sec ^2(x)}}+\frac {\sqrt {a \sec ^2(x)}}{a}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.02, size = 17, normalized size = 0.68 \[ \frac {\sec ^2(x)+1}{\sqrt {a \sec ^2(x)}} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.39, size = 17, normalized size = 0.68 \[ \frac {\tan \relax (x)^{2} + 2}{\sqrt {a \tan \relax (x)^{2} + a}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.39, size = 27, normalized size = 1.08 \[ \frac {\sqrt {a \tan \relax (x)^{2} + a} + \frac {a}{\sqrt {a \tan \relax (x)^{2} + a}}}{a} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.22, size = 26, normalized size = 1.04 \[ \frac {\sqrt {a +a \left (\tan ^{2}\relax (x )\right )}}{a}+\frac {1}{\sqrt {a +a \left (\tan ^{2}\relax (x )\right )}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.69, size = 37, normalized size = 1.48 \[ \frac {{\left (\sin \relax (x)^{2} - 2\right )} \sqrt {\sin \relax (x) + 1} \sqrt {-\sin \relax (x) + 1}}{\sqrt {a} \sin \relax (x)^{2} - \sqrt {a}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 0.29, size = 22, normalized size = 0.88 \[ \frac {\sqrt {2}\,\left (\cos \left (2\,x\right )+3\right )}{2\,\sqrt {a}\,\sqrt {\cos \left (2\,x\right )+1}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {\tan ^{3}{\relax (x )}}{\sqrt {a \left (\tan ^{2}{\relax (x )} + 1\right )}}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________